#!/usr/bin/env python
# -*- coding: UTF-8 -*-
'''
@Project ：PythonData 
@File    ：case3.py
@Author  ：朱志文
@Date    ：2021/9/28 8:18 
'''

# a,b=2,3
# print('{A}+{B}={C}'.format(A=a,B=b,C=a+b))
# print("%d+%d=%d"%(a,b,a+b))
# print("%4d+%4d=%4d"%(a,b,a+b))
# print("%-4d+%-4d=%-4d"%(a,b,a+b))
# a,b=12.5,36.18
# print('%5.3f+%5.3f=%5.3f'%(a,b,a+b))


'''NS流程图 三变量法'''
#
# a = eval(input('输入 a 值: '))
# b = eval(input('输入 b 值: '))
# t = a
# a = b
# b = t
# print('交换后 a 的值为: {}'.format(a))
# print('交换后 b 的值为: {}'.format(b))
# a, b = b, a  # 更换变量
# print('交换后 a 的值为: {}'.format(a))
# print('交换后 b 的值为: {}'.format(b))
#
# x = eval(input('输入 x 值: '))
# y = eval(input('输入 y 值: '))
# x = x + y
# y = x - y
# x = x - y
# print('交换后 x 的值为: {}'.format(x))
# print('交换后 y 的值为: {}'.format(y))

import turtle

# turtle.setup(800,800,0,0)
# turtle.color("red")
# turtle.speed("slowest")
# turtle.goto(100,100)
# turtle.goto(100,-100)
# turtle.goto(-100,-100)
# turtle.goto(-100,100)
# turtle.home()
# turtle.circle(120,360)


'''正方形'''
# turtle.rt(90)
# turtle.fd(100)
# turtle.lt(90)
# turtle.fd(100)
# turtle.lt(90)
# turtle.fd(100)
# turtle.lt(90)
# turtle.fd(100)

'''等边三角形'''
# turtle.speed("slowest")
# turtle.fd(200)
# turtle.lt(120)
# turtle.fd(200)
# turtle.lt(120)
# turtle.fd(200)

'''尝试速度 笔颜色 和笔粗度'''
# turtle.speed("slowest")
# turtle.pensize(5)
# turtle.pencolor("red")
# turtle.penup()
# turtle.goto(0,200)
# turtle.pendown()
# turtle.goto(100,100)
# turtle.goto(100,-100)
# turtle.goto(-100,-100)
# turtle.goto(-100,100)
# turtle.goto(0,200)

'''同心圆'''
# cx, cy = 0, 0  # 设置圆心
# r = 100  # 设置半径
# d = 20  # 同心圆的半径差
# colors = ["red", "blue", "yellow", "green"]
# for i in colors:
#     turtle.penup()
#     turtle.goto(cx, cy - r)
#     turtle.pendown()
#     turtle.pencolor(i)
#     turtle.circle(r)
#     r += d

'''天天向上'''
x = 0.05
print('%.2f' % (1 + x) ** 365)
print('%.2f' % (1 + x) ** 365)
